def number = [1,2,3,4]
assert number [1] == 2
assert number [-1] == 4

number << 5
assert number [4] == 5
assert number [-1] == 5